package com.ruoyi.kiku.service.impl;

import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.kiku.mapper.KikuStationSisterBasicMapper;
import com.ruoyi.kiku.domain.KikuStationSisterBasic;
import com.ruoyi.kiku.service.IKikuStationSisterBasicService;

/**
 * 小鞠站姐基础信息Service业务层处理
 *
 * @author TT
 * @date 2025-08-24
 */
@Service
public class KikuStationSisterBasicServiceImpl implements IKikuStationSisterBasicService
{
    @Autowired
    private KikuStationSisterBasicMapper kikuStationSisterBasicMapper;

    /**
     * 查询小鞠站姐基础信息
     *
     * @param id 小鞠站姐基础信息主键
     * @return 小鞠站姐基础信息
     */
    @Override
    public KikuStationSisterBasic selectKikuStationSisterBasicById(Long id)
    {
        return kikuStationSisterBasicMapper.selectKikuStationSisterBasicById(id);
    }

    /**
     * 查询小鞠站姐基础信息列表
     *
     * @param kikuStationSisterBasic 小鞠站姐基础信息
     * @return 小鞠站姐基础信息
     */
    @Override
    public List<KikuStationSisterBasic> selectKikuStationSisterBasicList(KikuStationSisterBasic kikuStationSisterBasic)
    {
        return kikuStationSisterBasicMapper.selectKikuStationSisterBasicList(kikuStationSisterBasic);
    }

    /**
     * 新增小鞠站姐基础信息
     *
     * @param kikuStationSisterBasic 小鞠站姐基础信息
     * @return 结果
     */
    @Override
    public int insertKikuStationSisterBasic(KikuStationSisterBasic kikuStationSisterBasic)
    {
        kikuStationSisterBasic.setCreateTime(DateUtils.getNowDate());
        return kikuStationSisterBasicMapper.insertKikuStationSisterBasic(kikuStationSisterBasic);
    }

    /**
     * 修改小鞠站姐基础信息
     *
     * @param kikuStationSisterBasic 小鞠站姐基础信息
     * @return 结果
     */
    @Override
    public int updateKikuStationSisterBasic(KikuStationSisterBasic kikuStationSisterBasic)
    {
        kikuStationSisterBasic.setUpdateTime(DateUtils.getNowDate());
        return kikuStationSisterBasicMapper.updateKikuStationSisterBasic(kikuStationSisterBasic);
    }

    /**
     * 批量删除小鞠站姐基础信息
     *
     * @param ids 需要删除的小鞠站姐基础信息主键
     * @return 结果
     */
    @Override
    public int deleteKikuStationSisterBasicByIds(Long[] ids)
    {
        return kikuStationSisterBasicMapper.deleteKikuStationSisterBasicByIds(ids);
    }

    /**
     * 删除小鞠站姐基础信息信息
     *
     * @param id 小鞠站姐基础信息主键
     * @return 结果
     */
    @Override
    public int deleteKikuStationSisterBasicById(Long id)
    {
        return kikuStationSisterBasicMapper.deleteKikuStationSisterBasicById(id);
    }
}
